package com.fanli.scheduler.service;

import com.fanli.scheduler.bean.HiveEsTemplate;

import java.io.IOException;
import java.util.List;
import java.util.Map;

/**
 * Created by xu.liu on 2016/9/7.
 */
public interface ESService {
    public List<HiveEsTemplate> convertToEsType(List<HiveEsTemplate> resource);
    public boolean createEsTemplate(String templateName,String templateIndex,String templateMapName,List<HiveEsTemplate> colunms) throws IOException;
    public boolean deleteEsTemplate(String templateNmae,String templateInedx);
}
